package com.maybach.core.form.order;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Created by zhaoshuai on 16/2/25.
 */
public class EditLoanOrderPartnerForm implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long outOrderId;

    @NotNull(message = "请选择供应商")
    private Long providerId;

    @NotEmpty(message = "请选择供应商")
    private String providerName;

    private String providerContractName;

    private String providerContractPhone;

    private List<String> daigouImgs;

    private List<String> contractImgs;

    @NotEmpty(message = "必须选择发票类型")
    private String invoiceType;

    @NotEmpty(message = "手续提供不能为空")
    private String offerTime;

    private List<Long> financeIds;

    private List<String> accountNames;

    private List<String> accountNos;

    private List<String> openingBanks;

    private List<Long> amounts;

    private List<String> financeTypes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProviderId() {
        return providerId;
    }

    public void setProviderId(Long providerId) {
        this.providerId = providerId;
    }

    public List<String> getDaigouImgs() {
        return daigouImgs;
    }

    public void setDaigouImgs(List<String> daigouImgs) {
        this.daigouImgs = daigouImgs;
    }

    public List<String> getContractImgs() {
        return contractImgs;
    }

    public void setContractImgs(List<String> contractImgs) {
        this.contractImgs = contractImgs;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getOfferTime() {
        return offerTime;
    }

    public void setOfferTime(String offerTime) {
        this.offerTime = offerTime;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public Long getOutOrderId() {
        return outOrderId;
    }

    public void setOutOrderId(Long outOrderId) {
        this.outOrderId = outOrderId;
    }

    public List<Long> getFinanceIds() {
        return financeIds;
    }

    public void setFinanceIds(List<Long> financeIds) {
        this.financeIds = financeIds;
    }

    public List<String> getAccountNames() {
        return accountNames;
    }

    public void setAccountNames(List<String> accountNames) {
        this.accountNames = accountNames;
    }

    public List<String> getAccountNos() {
        return accountNos;
    }

    public void setAccountNos(List<String> accountNos) {
        this.accountNos = accountNos;
    }

    public List<String> getOpeningBanks() {
        return openingBanks;
    }

    public void setOpeningBanks(List<String> openingBanks) {
        this.openingBanks = openingBanks;
    }

    public List<Long> getAmounts() {
        return amounts;
    }

    public void setAmounts(List<Long> amounts) {
        this.amounts = amounts;
    }

    public List<String> getFinanceTypes() {
        return financeTypes;
    }

    public void setFinanceTypes(List<String> financeTypes) {
        this.financeTypes = financeTypes;
    }

    public String getProviderContractName() {
        return providerContractName;
    }

    public void setProviderContractName(String providerContractName) {
        this.providerContractName = providerContractName;
    }

    public String getProviderContractPhone() {
        return providerContractPhone;
    }

    public void setProviderContractPhone(String providerContractPhone) {
        this.providerContractPhone = providerContractPhone;
    }
}
